package com.jack.payment.entity.business;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(name = "订单成功率")
public class OrderSuccessRateModel {
    @Schema(description = "订单总次数")
    private Integer orderCount;
    @Schema(description = "订单成功支付数")
    private Integer orderPayCount;
    @Schema(description = "成功数")
    private Integer paySuccessCount;
    @Schema(description = "退款订单数")
    private Integer refundCount;
    @Schema(description = "退款成功数")
    private Integer refundSuccessCount;

    @Schema(description = "支付成功率")
    private BigDecimal paySuccessRate;
    @Schema(description = "退出成功率")
    private BigDecimal refundSuccessRate;
}
